ul {
    padding: 0;
    margin: 0;
}

.container {
    background: linear-gradient();

}

.logo img {
    width: 100%;
    height: 100%;
}

.col-lg-3 {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;

}

.containers {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;

}

.title p {
    width: 100px;
    font-size: 25px;
    font-family: 仿宋;
    font-weight: bolder;
}

.col-lg-9 .nav-item {
    list-style-type: none;
    margin: 20px;


}

.col-lg-9 .nav {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.container .row .dpn-slide {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    transform: translateY(-140px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(340deg, #b9e6f1, #f8cced);
    height: 100px;
    border-radius: 0 0 10px 10px;
    transition: all .4s;
}

.dpn-slide .dpn-left h4 {
    padding: 20px;
    color: #fff;
    text-shadow: 0 0 5px #fff;
    width: 200px;
    text-align: center;
    transition: all .4s;
    border-radius: 10px;
}

.dpn-slide .dpn-left h4:hover {
    box-shadow:
        -6px -6px 8px -4px rgba(118, 254, 211, 0.75),
        6px -6px 8px -4px #32fef4bf,
        6px 6px 8px -4px rgba(50, 254, 244, 0.75),
        6px 6px 8px -4px rgba(255, 245, 255, 0.75);
    transform: scale(1.2);
    transform: translateX(20px);
}

.dpn-slide .dpn-right {
    display: flex;
    align-items: center;
}

.dpn-slide .dpn-right ul {
    display: flex;
    align-items: center;
}

.dpn-slide .dpn-right ul li {
    list-style: none;
    padding: 0 15px;

}

.dpn-slide .dpn-right ul li a {
    padding-bottom: 5px;
    border-bottom: 0 solid #27e1a9;
    transition: all .4s;
}

.dpn-slide .dpn-right ul li a:hover {
    border-bottom: 2px solid #27e1a9;
    color: #198754;
}

.dpn-slide .dpn-right button {
    border-radius: 50%;
    width: 50px;
    height: 50px;
    background-color: #ec670f;
}

.dpn-slide .dpn-right input {
    width: 200px;
    height: 50px;
    padding: 25px;
    margin: 0 10px;
    border: 0;
    outline: 0;
    border-radius: 30px;
    transition: all .5s;
}

/* 进入超小屏幕时图片和logo位于上方 字体变为14px*/
@media screen and (max-width:767px) {
    .logo img {
        width: 100%;
        height: 100%;
    }

    .containers {
        display: flex;
        flex-direction: row;
        /* justify-content: center;
        align-items: center; */

    }

    .col-lg-9 .nav {
        list-style-type: none;
        margin: 5px;
        font-size: 5px;


    }

    .title p {
        font-size: 10px;
    }

}

.col-lg-9 .nav-link {
    color: black;
}

.col-lg-9 .nav-item {
    margin: 5px;
}

.dropdown-item {
    color: black;
    text-decoration: none;
    display: block;
}

.center {
    width: 100%;
    height: 60px;


}

.dropdown-menu {
    display: flex;
    flex-direction: column;
    opacity: 0;
    float: left;
}

.l:hover .dropdown-menu {
    opacity: 1;
}

.center ul {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    z-index: 1;
    background-color: rgb(80, 84, 81);


}

.center ul li {
    list-style: none;
    color: rgb(239, 233, 233);
    /* margin:30px; */
    text-align: center;
    line-height: 60px;
    width: 33%;

}

/* 轮播图开始 */

.banner {
    border: 1px solid black;
    height: 500px;
    margin-top: 10px;
    margin-bottom: 20px;
    border: 0;
    outline: 0;
    /* box-shadow: 0 0 10px rgb(212, 214, 213); */
    /* background-color: rgb(188, 227, 243); */
}

.swiper {
    width: 100%;
    height: 100%;

}

.swiper-slide {
    position: relative;
    font-size: 18px;
    background: #fff;
    margin: 0;
}

.swiper-slide a img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;

}

@media screen and (max-width:767px) {
    .banner {
        height: 300px;
        width: 100%;
    }

}

.pic {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.takeClass h1 {
    vertical-align: top;
    text-align: center;
    font-family: 华文新魏;
}

.box1,
.box2,
.box3 {
    width: 335px;
    height: 300px;
    border: 1px solid black;
    margin: 10px;
    border-radius: 10px;
    border: 0;
    outline: 0;
    box-shadow: 0 0 10px rgb(212, 214, 213);
    transition: all 0.5s;
}

.box1 {
    background: linear-gradient(to right bottom, #eee, #f5f5b4)
}

.box2 {
    background: linear-gradient(to right bottom, #eee, #b9e6f1);
}

.box3 {
    background: linear-gradient(to right bottom, #eee, #f8cced);
}

.box1:hover {
    transform: scale(1.1);
}

.box2:hover {
    transform: scale(1.1);
}

.box3:hover {
    transform: scale(1.1);

}

.img {
    text-align: center;
    line-height: 50%;
}

.img img {

    width: 50%;
    height: 50%;
}

/* 小屏幕下 */
@media screen and (max-width:767px) {

    .pic {
        display: flex;
        flex-direction: column;

    }

    .ComputerClass .box {
        display: flex;
        flex-direction: column;
        /* justify-content: center; */
    }

    .EducationClass .box {
        display: flex;
        flex-direction: column;

    }

    .ArtClass .box {
        display: flex;
        flex-direction: column;


    }

    /* .r1,.r2,.r3,.r4{
        width: 25%;
        height: 25%;
        border:1px solid black;
        margin:10px;
        text-align: center;
        vertical-align: top;
        
    } */
    .ComputerClass h1 {
        vertical-align: top;
        text-align: center;

    }

    .ArtClass h1 {
        vertical-align: top;
        text-align: center;

    }

    .EducationClass h1 {
        vertical-align: top;
        text-align: center;

    }


}

/* 中等屏幕下 */
@media screen and (max-width:1024px) {
    .pic {
        display: flex;
        flex-direction: column;

    }

    .EducationClass .box {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;

    }

    .ArtClass .box {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;


    }

    .ComputerClass .box {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .r1,
    .r2,
    .r3,
    .r4 {
        width: 48%;
        margin-right: 4%;
    }


}


.text p {
    text-align: center;
    font-size: 10px;
    font-family: 华文新魏;
    margin: 30px;
}

.ComputerClass h1 {
    vertical-align: top;
    text-align: center;
    font-family: 华文新魏;
    /* margin-top:50px; */
}

.box {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin: 100px;
}



.r1,
.r2,
.r3,
.r4,
.r5,
.r6,
.r7 {
    width: 300px;
    height: 300px;
    border: 1px solid black;
    margin: 10px;
    border: 0;
    outline: 0;
    box-shadow: 0 0 10px rgb(0, 0, 0, 0.3);
    border-radius: 10px;

}

.imgs {
    text-align: center;
    line-height: 50%;
    font-family: 华文新魏;
    /* color:red; */
    font-weight: bolder;
    margin: 10px;
}

.imgs h2 {
    margin: 10px;
}

.r1 img {
    vertical-align: middle;
    width: 50%;
    height: 50%;
}

.r2 img {
    vertical-align: middle;
    width: 35%;
    height: 35%
}

.r3 img {
    vertical-align: middle;
    width: 40%;
    height: 40%
}

.r4 img {
    vertical-align: middle;
    width: 40%;
    height: 40%
}

.r3 h2 {
    font-size: 20px;
    font-weight: bold;
}

.name {
    text-align: center;
    vertical-align: top;
    margin: 30px;
}

button {
    border: 0;
    outline: 0;
    font-size: 25px;
    color: white;
    background-color: rgb(11, 177, 243);
    width: 200px;
    height: 40px;
    border-radius: 10px;
    /* margin:10px; */
}

button a {
    color: white !important;
    text-decoration: none;
    font-size: 25px;
}

button:active {
    font-size: 20px;
}

.EducationClass h1 {
    vertical-align: top;
    text-align: center;
    font-family: 华文新魏;

}

.ArtClass h1 {
    vertical-align: top;
    text-align: center;
    font-family: 华文新魏;


}

.r5 img {
    vertical-align: middle;
    width: 30%;
    height: 30%;

}

.r6 img {
    vertical-align: middle;
    width: 55%;
    height: 55%;
    margin: 10px;

}

.r7 img {
    vertical-align: middle;
    width: 45%;
    height: 45%;
}

.a1,
.a2,
.a3,
.a4 {
    width: 300px;
    height: 300px;
    border: 1px solid black;
    margin: 10px;
    border: 0;
    outline: 0;
    box-shadow: 0 0 10px rgb(0, 0, 0, 0.3);
    border-radius: 10px;

}

.a1 img {
    vertical-align: middle;
    width: 50%;
    height: 50%;

}

.a2 img {
    vertical-align: top;
    width: 60%;
    height: 60%;
}

.a3 img {
    vertical-align: top;
    width: 50%;
    height: 50%;
}

.a4 img {
    vertical-align: top;
    width: 50%;
    height: 50%;
}

footer {
    border: 1px solid gray;
    border: 0;
    outline: 0;

    text-align: center;
    vertical-align: middle;

}

.row {
    margin: 30px;
}

.row a {
    text-decoration: none;
    color: black;
}

.col-lg-6 p {

    font-size: 20px;
}

/* 代码仓库修饰 */
.w-work {
    display: inline-block;
    margin: 0 auto;
}

.myfooterrow {
    display: block;
    width: 300px;
    height: 60px;
    line-height: 60px;
    text-align: left !important;
    padding-left: 13px;
    max-height: 80px;
    overflow: hidden;
    color: rgb(66, 126, 237);
    color: #198754;
    text-align: center;
    cursor: pointer;
    border-radius: 40px;
    /* box-shadow: 0px 0px 5px  rgb(105, 188, 251); */
    box-shadow: 1px 0px 1px 1px skyblue;
    opacity: .7;
    transition: .5s;
    margin: 10px;
    background: url(../image/footer-img.png) no-repeat;
    background-size: cover;
    background-position-x: 94px;
    background-position-y: -110px;
}

.myfooterrow:hover {
    opacity: .9;
    box-shadow: 3px 0px 5px rgb(105, 188, 251);

}

.mgb-10 {
    margin-bottom: 30px;
}

.textColor {
    display: block;
    margin-bottom: 20px;
    /* font-size: 35px; */
    background-image: -webkit-linear-gradient(top, #f0d17d, #65b2e9ca, #27e1a9);
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.Atext {
    color: rgb(141, 195, 228) !important;
}

.Btext {
    color: rgb(132 192 206) !important;
}

.Ctext {
    color: rgb(225 159 210) !important;

}

.select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 8px;
    border: 1px solid #999;
    border-radius: 5px;
    background-color: #f1f1f1;
    color: #333;
    font-size: 16px;
    width: 200px;
}

.copy {
    width: 80%;
    height: 20%;
    text-align: center;
    margin: auto;
    font-size: 24px;
    line-height: 120px;
    color: #198754;
}

.titlemenu {
    z-index: 999;
}

.center .dropdown-menu {
    width: 100%;
    position: absolute;
    /* 或者 relative，取决于您的布局 */
    z-index: 1000;
    /* 确保下拉菜单的z-index高于其他元素 */
    /* display: block; */
    background-color: white;
    transition: .3s;
    display: none;
    /* 默认隐藏下拉菜单 */

}

.center .titlemenu {
    width: 100%;
}

.center .titlemenu li {
    width: 100%;
}

.center .nav-item:hover .dropdown-menu {
    display: block;
    /* 鼠标经过`<a>`标签时显示下拉菜单 */
}